Introducing Scheduler
The Scheduler feature empowers you to automate your Lyzr agents to work autonomously, moving beyond manual triggers to consistent, scheduled operations. You can set specific recurring times for an agent to run and monitor its performance through historical execution data to ensure reliability.Configuration & Controls
While setting up a scheduler, you have access to granular configuration options to customize how and when the agent operates:- Scheduler Name: Assign a specific name to the scheduler for easy identification within your dashboard.
- Flexible Timing Options: Timing is configured through five distinct specialized tabs:
- Minutes: Set recurring intervals between 30 and 60 minutes.
- Hours: Define hourly intervals (1-24) and specify the exact minute for execution.
- Days: Select specific days of the week (e.g., Monday through Sunday) for precise weekly routines.
- Months: Schedule monthly tasks (intervals of 1-12) with options for specific days of the month and specific times.
- Cron: Use standard Cron expressions for complex, custom scheduling needs.
- Execution Reliability:
- Max Retries: Configure up to 10 retry attempts if an execution failure occurs.
- Retry Delay: Set a delay (up to 60 minutes) between retry attempts to allow for system recovery or transient error resolution.
- Scheduler Input: Define the specific command, prompt, or task input the agent should execute when the trigger occurs (e.g., “Execute it”).
Timing Configuration Interfaces
The following interfaces demonstrate the granular control available for each scheduling frequency:
Figure 1: Setting sub-hourly intervals with retry logic.
Figure 2: Configuring hourly triggers and specific minute starts.
Figure 3: Selecting specific weekdays for recurring agent tasks.
Figure 4: Monthly scheduling with date and time specificity.
Figure 5: Advanced scheduling using standard Cron expressions.
Monitoring Executions
The Executions dashboard provides a transparent history of all scheduled runs, essential for auditing and troubleshooting automated workflows.- Status Tracking: Instantly view whether a run was a Success or Failed.
- Error Logs: If an execution fails, the dashboard notes the specific reason (e.g., “Request Timeout”), allowing for targeted fixes.
- Timeline: Track the exact recency of executions (e.g., “6 hours ago”, “10 hours ago”) to ensure the scheduler is operating on its intended cadence.
Would you like me to help you write a Cron expression for a complex schedule, such as “every Tuesday and Thursday at 2:00 PM”?